import request from '@/common/request'

//推广海报列表
export function getPopuList(data) {
    return request({
        url: '/apisell/apply/posters/getPopuList',
        method: 'post',
        data:data
    })
}

//团购海报列表
export function getGroupList(data) {
    return request({
        url: '/apisell/apply/posters/getGroupList',
        method: 'post',
        data:data
    })
}

//推广链接列表
export function getPopuLinkList(data) {
    return request({
        url: '/apisell/apply/popuLink/getList',
        method: 'post',
        data:data
    })
}

//团购链接列表
export function getGroupLinkList(data) {
    return request({
        url: '/apisell/apply/groupLink/getList',
        method: 'post',
        data:data
    })
}

//创建海报
export function createdPoster(data) {
    return request({
        url: '/apisell/apply/posters/createdPoster',
        method: 'post',
        data:data
    })
}

//编辑海报
export function editePoster(data) {
    return request({
        url: '/apisell/apply/posters/editePoster',
        method: 'post',
        data:data
    })
}

//删除海报
export function delPoster(data) {
    return request({
        url: '/apisell/apply/posters/delPoster',
        method: 'post',
        data:data
    })
}

//通过id获取海报信息
export function getPosterInfo(data) {
    return request({
        url: '/apisell/apply/posters/getPosterInfo',
        method: 'post',
        data:data
    })
}


